package chuichui.data
{

	public class ResData
	{
		public static var SWF : String = "swf";
		public static var IMAGE : String = "img";
		public static var TEXT : String = "string";
		public static var XML : String = "xml";
		public static var MP3 : String = "mp3";
		public static var config : String = "config";
		public static var block : String = "block";
		
		/**
		 *地址
		 */
		public var url : String;
		/**
		 *优先级别
		 */
		public var priority : int;
		/**
		 *下载类型
		 */
		public var type : String;
		/**
		 *版本号
		 */
		public var version : int;

		public function ResData(url : String, type : String, priority : int = 0, version : int = 0)
		{
			this.url = url;
			this.type = type;
			this.priority = priority;
			this.version = version;
		}
	}
}